﻿using System;

namespace Relay.Core.Protocol {
    public class IrcChannelUserJoinedEventArgs : EventArgs {
        private IrcChannel _channel = null;

        public IrcChannel Channel {
            get { return _channel; }
            set { _channel = value; }
        }

        public IrcChannelUserJoinedEventArgs(IrcChannel channel) {
            _channel = channel;
        }
    }

    public class IrcChannelUserPartedEventArgs : EventArgs {
        private IrcChannel _channel = null;
        private string _message = String.Empty;

        public IrcChannel Channel {
            get { return _channel; }
            set { _channel = value; }
        }

        public string Message {
            get { return _message; }
            set { _message = value; }
        }

        public IrcChannelUserPartedEventArgs(IrcChannel channel) {
            _channel = channel;
        }
    }

    public class IrcChannelUserKickedEventArgs : EventArgs {
        private IrcChannel _channel = null;
        private string _message = String.Empty;

        public IrcChannel Channel {
            get { return _channel; }
            set { _channel = value; }
        }

        public string Message {
            get { return _message; }
            set { _message = value; }
        }
    }
}
